package com.open.api.wechat.app.request;

import com.open.api.wechat.app.request.condition.WeChatUrlSchemeCondition;
import com.open.api.wechat.app.response.WeChatUrlSchemeResponse;
import com.open.api.wechat.common.WeChatCommonRequest;
import com.open.api.wechat.constants.WeChatAppUrlConstants;
import lombok.Data;

/**
 * @author : zhaoxuan
 * @date : 2021/7/1 17:28
 * @description : WeChatUrlSchemeRequest
 * @version: 1.0
 */
@Data
public class WeChatUrlSchemeRequest extends WeChatCommonRequest<WeChatUrlSchemeResponse> {

    private WeChatUrlSchemeCondition condition;

    @Override
    public Object getCondition() {
        return condition;
    }

    @Override
    public String getDefaultUrl() {
        return WeChatAppUrlConstants.APP_GENERATE_URL_SCHEME;
    }

    @Override
    public Class<WeChatUrlSchemeResponse> getResponse() {
        return WeChatUrlSchemeResponse.class;
    }
}
